*text references: n's by sex
tab gender

*note: hereafter "case study" refers to the three subjects of the vignettes (i.e., assage, manning, snowden)

*text reference: n of participants by case study and treatment condition
	*experiment 1: general treatments
tab MIA318_treat
	*experiment 2: policy-based treatments
tab MIA319_treat

*text reference for how yougov/CCES pid 3 was coded (note that they exclude leaners from dem/rep)
tab pid7 pid3
	*recode pid3 into rep = 0 , dem = 1, all others = 3 (leaners, indys, and dk)
generate dem=2
replace dem=1 if pid3==1
replace dem=0 if pid3==2
label define dem_label 0 "REP" 1 "DEM" 2 "all others"
label values dem dem_label
tab pid3 dem

*descriptives on the DVs--opposition to extension of executve power (low oppositon - high oppositon)
	*exp 1
mean MIA318a MIA318b MIA318c
tab MIA318a 
tab MIA318b 
tab MIA318c
	*exp 2
mean MIA319a MIA319b MIA319c
tab MIA319a 
tab MIA319b 
tab MIA319c

*ANOVA with treat, PID, and interaction
	*exp 1, more pres power
anova MIA318a MIA318_treat##dem
margins MIA318_treat##dem

	*exp 1, limit democ
anova MIA318b MIA318_treat##dem
margins MIA318_treat##dem

	*exp 1, abolish congress
anova MIA318c MIA318_treat##dem
margins MIA318_treat##dem

	*exp 2, more pres power
anova MIA319a MIA319_treat##dem
margins MIA319_treat##dem

	*exp 2, limit democ
anova MIA319b MIA319_treat##dem
margins MIA319_treat##dem

	*exp 2, abolish congress
anova MIA319c MIA319_treat##dem
margins MIA319_treat##dem
